/**
 * 路由组件出口文件
 */
// import Loadable from 'react-loadable';
// import Loading from './widget/Loading';
import BasicTables from './tables/BasicTables';
import AdvancedTables from './tables/AdvancedTables';
import ComplexTable from './tables/ComplexTable';

// import AdvancedTable from './tables/AdvancedTables';
// import AsynchronousTable from './tables/AsynchronousTable';
// import Echarts from './charts/Echarts';
// import Recharts from './charts/Recharts';
import Buttons from './ui/Buttons';
import Icons from './ui/Icons';
// import Spins from './ui/Spins';
// import Modals from './ui/Modals';
// import Notifications from './ui/Notifications';
// import Tabs from './ui/Tabs';
// import Banners from './ui/banners';
// import Drags from './ui/Draggable';
import Dashboard from './dashboard';
// import Gallery from './ui/Gallery';
// import BasicAnimations from './animation/BasicAnimations';
// import ExampleAnimations from './animation/ExampleAnimations';
// import AuthBasic from './auth/Basic';
// import RouterEnter from './auth/RouterEnter';
// import Cssmodule from './cssmodule';
// import MapUi from './ui/map';
// import QueryParams from './extension/QueryParams';
// import Visitor from './extension/Visitor';
// import MultipleMenu from './extension/MultipleMenu';
// import Sub1 from './smenu/Sub1';
// import Sub2 from './smenu/Sub2';
// import Env from './env';
import Page401 from './errorPage/401';
import Page404 from './errorPage/404';
import Page500 from './errorPage/500';

import Profile from './profile';

import Menu from './system/menu'
import Role from './system/role'
import User from './system/user'

import Login from './user/Login';
import Register from './user/Register';

// const WysiwygBundle = Loadable({
//     // 按需加载富文本配置
//     loader: () => import('./ui/Wysiwyg'),
//     loading: Loading,
// });

export default {
    Dashboard,
    BasicTables,
    AdvancedTables,
    ComplexTable,
    Buttons,
    Icons,
    Page401,
    Page404,
    Page500,
    Profile,
    Menu,
    Role,
    User,
    Login,
    Register
} as any;

// export default {
//     BasicTable,
//     AdvancedTable,
//     AsynchronousTable,
//     Echarts,
//     Recharts,
//     Icons,
//     Buttons,
//     Spins,
//     Modals,
//     Notifications,
//     Tabs,
//     Banners,
//     Drags,
//     Dashboard,
//     Gallery,
//     BasicAnimations,
//     ExampleAnimations,
//     AuthBasic,
//     RouterEnter,
//     WysiwygBundle,
//     Cssmodule,
//     MapUi,
//     QueryParams,
//     Visitor,
//     MultipleMenu,
//     Sub1,
//     Sub2,
//     Env,
// } as any;
